<?php
namespace app\index\validate;
use think\Validate;
class User extends Validate{
    protected $rule = [
      'login' =>'require',
      'password'=>'require',
    ];
    protected $message = [
        'login.require'=>'登录名必须填写',
        'password.require'=>'密码必须填写',
    ];
}
